package cn.edu.zut.cs.service;

import cn.edu.zut.cs.pojo.Equipment;
import cn.edu.zut.cs.pojo.User;
import cn.edu.zut.cs.pojo.Weighing;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 设备管理 服务类
 * </p>
 *
 * @author equipment
 * @since 2021-06-16
 */
public interface EquipmentService extends IService<Equipment> {
    //添加电子秤
    void addEquiment(Equipment equipment);
    //删除电子秤
    void deleteEquiment(String equid);
    //修改电子称信息
    void updateEquiment(Equipment equipment);
    //查询电子秤信息
    Equipment selectEquiment(User user,String equid);

    List<Equipment> selectAllEquipment(User user);
    void countAllMoney(User user,Date stat,Date end);
    //文件下载
    List<Equipment> UserExcelDownloads(User user);
    Equipment addE();
}
